<?php  if (!defined("IS_INITPHP")) exit("Access Denied!");  /* INITPHP Version 1.0 ,Create on 2016-01-23 16:15:38, compiled from D:\chendeben\zendwork\kabasi/app/template/huodongxun/manage/header.html */ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title;?></title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="/adminlte/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="/static/ionicons/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="/adminlte/dist/css/AdminLTE.min.css">
<!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect.
    -->
<link rel="stylesheet" href="/adminlte/dist/css/skins/skin-blue.min.css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
<!-- jQuery 2.1.4 -->
<script src="/adminlte/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="/adminlte/bootstrap/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="/adminlte/dist/js/app.min.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">

		<!-- Main Header -->
		<header class="main-header">

			<!-- Logo -->
			<a href="/manage/index" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini">KBS</span> <!-- logo for regular state and mobile devices --> <span class="logo-lg">凯巴斯后台管理 </span>
			</a>

			<!-- Header Navbar -->
			<nav class="navbar navbar-static-top" role="navigation">
				<!-- Sidebar toggle button-->
				<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">展开</span>
				</a>
				<!-- Navbar Right Menu -->
				<div class="navbar-custom-menu">
					<ul class="nav navbar-nav">
						<!-- User Account Menu -->
						<li class="dropdown user user-menu">
							<!-- Menu Toggle Button --> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <!-- The user image in the navbar--> <img src="/adminlte/dist/img/user2-160x160.jpg" class="user-image" alt="User Image"> <!-- hidden-xs hides the username on small devices so only the image appears. --> <span class="hidden-xs"><?php echo $adminname;?></span>
						</a>
							<ul class="dropdown-menu">
								<!-- The user image in the menu -->
								<li class="user-header"><img src="/adminlte/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
									<p>管理员：<?php echo $adminname;?></p></li>
								<!-- Menu Body -->
								<!-- Menu Footer-->
								<li class="user-footer">
									<div class="pull-left">
										<a href="#" class="btn btn-default btn-flat">修改密码</a>
									</div>
									<div class="pull-right">
										<a href="#" class="btn btn-default btn-flat">退出</a>
									</div>
								</li>
							</ul>
						</li>
						<!-- Control Sidebar Toggle Button -->
						<li><a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a></li>
					</ul>
				</div>
			</nav>
		</header>
		<!-- Left side column. contains the logo and sidebar -->
		<aside class="main-sidebar">

			<!-- sidebar: style can be found in sidebar.less -->
			<section class="sidebar">

				<!-- Sidebar user panel (optional) -->
				<div class="user-panel">
					<div class="pull-left image">
						<img src="/adminlte/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
					</div>
					<div class="pull-left info">
						<p><?php echo $adminname;?></p>
						<!-- Status -->
						<a href="#"><i class="fa fa-circle text-success"></i>在线</a>
					</div>
				</div>

				<!-- search form (Optional) -->
				<form action="#" method="get" class="sidebar-form">
					<div class="input-group">
						<input type="text" name="q" class="form-control" placeholder="Search..."> <span class="input-group-btn">
							<button type="submit" name="search" id="search-btn" class="btn btn-flat">
								<i class="fa fa-search"></i>
							</button>
						</span>
					</div>
				</form>
				<!-- /.search form -->

				<!-- Sidebar Menu -->
				<ul class="sidebar-menu">
					<li class="header">管理选项</li>
					<?php foreach ($menu as $k=>$v) { ?>
					<?php if (!is_array($v['menus'])) { ?>
					<li
						<?php if ($v['tag']==$menu_now) { ?>class="active"<?php } ?>><a href="<?php echo $v['url'];?>"><i class="fa fa-link"></i> <span> <?php echo $v['name'];?>
						</span></a></li>
					<?php } else { ?>
					<?php foreach ($v['menus'] as $k2=>$v2) { ?>
					<?php if ($v2['tag']==$menu_now) { ?>
					<?php  $flag=true; ?>
					<?php } ?>
					<?php } ?>
					<li class="treeview <?php if ($v['tag']==$menu_now||$flag) { ?>active<?php } ?>"><a href="<?php echo $v['url'];?>"><i class="fa fa-link"></i> <span> <?php echo $v['name'];?>
						</span><i class="fa fa-angle-left pull-right"></i></a>
						<ul class="treeview-menu">
						<?php  $flag=false; ?>
							<?php foreach ($v['menus'] as $k2=>$v2) { ?>
							<li
								<?php if ($v2['tag']==$menu_now) { ?>class="active"<?php } ?>><a href="<?php echo $v2['url'];?>"> <?php echo $v2['name'];?>
							</a>
							</li>
							<?php } ?>
						</ul></li>
					<?php } ?>
					<?php } ?>
				</ul>
				<!-- /.sidebar-menu -->
			</section>
			<!-- /.sidebar -->
		</aside>

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">
			<!-- Content Header (Page header) -->
			<section class="content-header">
				<h1>
					后台管理 <small>凯巴斯</small>
				</h1>
			</section>

			<!-- Main content -->
			<section class="content">

				<!-- Your Page Content Here -->